package org.com.yz.dal.dao.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wzc123
 * @since 2018-07-18
 */
@TableName("interface_config")
public class InterfaceConfig extends Model<InterfaceConfig> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id_interface_config", type = IdType.AUTO)
    private Integer idInterfaceConfig;
    /**
     * 商户号
     */
    @TableField("mch_no")
    private String mchNo;
    @TableField("md5_token")
    private String md5Token;
    @TableField("cid_xx")
    private String cidXx;
    @TableField("create_time")
    private Date createTime;
    @TableField("update_time")
    private Date updateTime;


    public Integer getIdInterfaceConfig() {
        return idInterfaceConfig;
    }

    public void setIdInterfaceConfig(Integer idInterfaceConfig) {
        this.idInterfaceConfig = idInterfaceConfig;
    }

    public String getMchNo() {
        return mchNo;
    }

    public void setMchNo(String mchNo) {
        this.mchNo = mchNo;
    }

    public String getMd5Token() {
        return md5Token;
    }

    public void setMd5Token(String md5Token) {
        this.md5Token = md5Token;
    }

    public String getCidXx() {
        return cidXx;
    }

    public void setCidXx(String cidXx) {
        this.cidXx = cidXx;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.idInterfaceConfig;
    }

    @Override
    public String toString() {
        return "InterfaceConfig{" +
        "idInterfaceConfig=" + idInterfaceConfig +
        ", mchNo=" + mchNo +
        ", md5Token=" + md5Token +
        ", cidXx=" + cidXx +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
